import os

from google.appengine.ext import webapp
from google.appengine.ext.webapp import template

class BaseHandler(webapp.RequestHandler):
    def render_template(self, filename, **template_args):
        path = os.path.join(os.path.dirname(__file__),filename)
        self.response.out.write(template.render(path, template_args))

class Main(BaseHandler):
    def get(self):
        self.render_template('view/main.html', name="Kimmy")

app = webapp.WSGIApplication([
    ('/', Main),
], debug=True)